
<?php
$cs = Yii::app()->getClientScript();
$cs->registerCssFile(Yii::app()->request->baseUrl . "/css/view/news.css");
$cs->registerCSSFile(Yii::app()->request->baseUrl . "/css/admin/manage.css");
$folderUpload = hash('sha512', "news" . "1");
?>
<div id="manageNew"><?php echo CHtml::link('Manage',array('nEWS/admin')) ?></div>
<?php foreach ($model as $data) { ?>
    <div class="news">
        <div id="image"><img src="<?php echo Yii::app()->request->baseurl . "/file/" . $folderUpload . "/" . $data['image_new']; ?>" width="60px" height="60px"/>
        </div>
        <div id="title"><?php echo $data['title']; ?></div>
        <div id="new"><?php echo $data['new']; ?></div>
    </div>

<?php } ?>
